package cn.wolfcode.service;

import cn.wolfcode.domain.Exam;
import cn.wolfcode.qo.ExamQueryObject;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IExamService {
    void save(Exam exam, ExamQueryObject qo);

    void delete(Long id);

    void update(Exam exam);

    Exam get(Long id);

    List<Exam> listAll();

    // 分页查询的方法
    PageInfo<Exam> query(QueryObject qo);
}
